﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Site.master" AutoEventWireup="true"
    CodeFile="CreateAccount.aspx.cs" Inherits="Pages_CreateAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cHeader" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctPlaceMain" runat="Server">
    <div class="account_create">
        <div class="title">
            Đăng ký thành viên
        </div>
        <div class="form">
            <div class="col_left">
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Họ và Tên:</label>
                    <input type="text" id="full_name" class="input" runat="server" />
                    <asp:RequiredFieldValidator ID="rqf" runat="server" ErrorMessage="*" ControlToValidate="full_name"
                        ValidationGroup="1"></asp:RequiredFieldValidator>
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Email:</label>
                    <input type="text" id="email" class="input" runat="server" />
                    <asp:RequiredFieldValidator ID="rqfEmail" runat="server" ErrorMessage="*" ControlToValidate="email"
                        ValidationGroup="1"></asp:RequiredFieldValidator>
                </div>
                <div class="row">
                    <label class="label">
                        Điện thoại:</label>
                    <input type="text" id="mobile" class="input" runat="server" />
                </div>
                <div class="row">
                    <label class="label">
                        Địa chỉ:</label>
                    <input type="text" id="address" class="input" runat="server" />
                </div>
                <div class="row">
                    <label class="label">
                        Nick Yahoo:</label>
                    <input type="text" id="yahoo" class="input" runat="server" />
                </div>
                <div class="row">
                    <label class="label">
                        Nick Skype:</label>
                    <input type="text" id="skype" class="input" runat="server" />
                </div>
                <div class="row">
                    <label class="label">
                        Tên công ty:</label>
                    <input type="text" id="company" class="input" runat="server" />
                </div>
            </div>
            <div class="col_right">
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Tên đăng nhập:</label>
                    <input type="text" id="user_name" class="input" runat="server" />
                    <asp:RequiredFieldValidator ID="rqfUserName" runat="server" ErrorMessage="*" ControlToValidate="user_name"
                        ValidationGroup="1"></asp:RequiredFieldValidator>
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Mật khẩu:</label>
                    <input type="password" id="password" class="input" runat="server" />
                    <asp:RequiredFieldValidator ID="rqfPassword" runat="server" ErrorMessage="*" ControlToValidate="password"
                        ValidationGroup="1"></asp:RequiredFieldValidator>
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Nhập lại mật khẩu:</label>
                    <input type="password" id="password_confirm" class="input" runat="server" />
                    <asp:RequiredFieldValidator ID="rqfpassword_confirm" runat="server" ErrorMessage="*"
                        ControlToValidate="password_confirm" ValidationGroup="1"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="cmppassword_confirm" runat="server" ErrorMessage="*" ControlToCompare="password"
                        ValidationGroup="1" ControlToValidate="password_confirm"></asp:CompareValidator>
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Mã an toàn:</label>
                    <img width="80" height="23" src="captcha.aspx" alt="captcha" id="captcha_img" style="margin-left: 55px" />
                    <img style="cursor: pointer;" class="creatNewCaptchaButton" alt="Tạo mã khác" title="Tạo mã khác"
                        src="http://enbac.com/style/images/indicator_arrows_static.gif" onclick="fn_reload_captcha()"
                        id="reload_button" />
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp Nhập mã an toàn:</label>
                    <input type="text" id="txtCaptcha" class="input" runat="server" />
                </div>
                <div class="row">
                    <label class="label">
                        <span class="required">(*)</span>&nbsp
                        <input type="checkbox" id="Agreement" class="checkbox" runat="server" />
                        Tôi đồng ý với điều khoản sử dụng và quy định bảo mật của HappyLands</label>
                </div>
                <div class="row">
                    <label class="label">
                    </label>
                    <input type="button" id="Checkbox1" value="" class="button" runat="server" onserverclick="createAccount"
                        validationgroup="1" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
